#ifndef __ENEMY_H_
#define __ENEMY_H_

#include "Object.h"

#define ENEMY_VX	0.2

class Enemy : public Object
{
private:
	bool check_turn;
	
	float _vx;
	float _vy;
public:
	Enemy(float x, float y);
	Enemy(LPDIRECT3DDEVICE9 d3ddv,  LPDIRECT3DSURFACE9 BackBuffer, LPD3DXSPRITE SpriteHandler, float x, float y);
	~Enemy();
	//void Init(LPDIRECT3DDEVICE9 d3ddv,  LPDIRECT3DSURFACE9 BackBuffer, LPD3DXSPRITE SpriteHandler);
	//void Update(int _ScreenWidth, int _ScreenHeight, float gameTime);
	void Render();

	void TurnLeft();
	void TurnRight();
	OBJECT_TYPE GetTypeObject();
	void Update(list<Object*>* staObjs, list<Object*>* dynObjs, DxInput* input, float TPF);
};

#endif